Skip to content

Conversation

@SriLakshmiPolavarapu
Copy link

@SriLakshmiPolavarapu SriLakshmiPolavarapu commented Dec 12, 2025

Ready for review Powered by Pull Request Badge

Fixes #1812

Calling console.log(null) could crash due to nullable varargs passed from JavaScript into Kotlin.
This change safely handles null arguments and logs "null" instead.

@sgammon
Copy link
Member

sgammon commented Jan 4, 2026

Hey @SriLakshmiPolavarapu, thank you for your PRs 🥳 this one has been fixed. Another contributor beat you to the punch by only a few days. That was merged, so this one will be closed, but your newer PR at #1844 looks great. Make sure to rebase that one so you gain the new fix.

@sgammon sgammon closed this Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

console.log crashes when handling a null argument

2 participants